package com.order.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.Order;
import com.common.entity.OrderShop;
import com.common.untils.CommonResult;
import com.order.vo.OrderGenerationVO;
import com.order.vo.OrderVo;

import java.util.List;
import java.util.Map;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xdl
 * @since 2022-08-31
 */
public interface IOrderService extends IService<Order> {

    CommonResult findAllOrder(OrderVo orderVo);

    CommonResult orderGeneration(OrderGenerationVO orderGenerationVO,String homeToken);

    CommonResult createNative(String orderNo);

    CommonResult queryPayStatus(String orderNo);

    //取消支付
    CommonResult cancelPayment(Integer id);

    CommonResult orderGeneration1(Integer zongjia, List<Map> maps, String homeToken);

    CommonResult getOrderCharts();
}
